NuclearEngagement\Repositories\OptinRepository S

Total Complexity 32
Dependencies 1
Dependents 0
Total lines 295
Lines of code 152
Logical lines of code 80
Comment lines 86
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
get_optin_count()
A
52 8 25
get_optins_for_export()
S
54 5 21
insert_optin()
S
56 4 17
get_optins()
S
61 3 11
create_optin_table()
S
54 2 25
get_optin_stats()
S
58 1 16
optin_table_exists()
S
69 2 7
get_optin_table_name()
S
80 1 3
optin_exists()
S
71 1 5
get_optin_by_id()
S
74 1 4
delete_optin()
S
74 1 4
delete_optins_by_post()
S
78 1 3
cleanup_old_optins()
S
70 1 5
drop_optin_table()
S
70 1 6